﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ScrewTurn.Wiki.PluginFramework;

namespace IdeaNMR.Web.FormatterPlugin
{
    public abstract class IdeaNMRFormatterBase
    {
        public string ConfigHelpHtml
        {
            get { return "Specify Host where IdeaNMR is runing."; }
        }

        protected string config;
        protected IHostV30 host;

        //Required function for ScrewTurn Wiki.
        public void Init(IHostV30 host, string config)
        {
            this.host = host;
            this.config = config != null ? config : string.Empty;
           // if (this.config.ToLowerInvariant() == "nolog") enableLogging = false;
        }
        //Required function for ScrewTurn Wiki.
        public void Shutdown() { }
    }
}
